package com.example.mall.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.mall.domain.FreeShippingRules;
import com.example.mall.dto.FreeShippingRulesDto;
import com.example.mall.query.FreeShippingRulesQuery;
import com.example.mall.query.PageDTO;

import java.util.List;


/**
 * <p>
 * 包邮规则表 服务类
 * </p>
 *
 * @author whale
 * @since 2025-05-16
 */
public interface IFreeShippingRulesService extends IService<FreeShippingRules> {

    //查询包邮规则表信息
    PageDTO<FreeShippingRulesDto> queryPage(FreeShippingRulesQuery freeShippingRulesQuery);

    //根据id查询包邮规则表信息
    FreeShippingRules queryFreeShippingRulesById(Long ruleId);

    //查询包邮规则表信息
    List<FreeShippingRules> queryFreeShippingRulesList();

    //新增包邮规则表信息
    void insert(FreeShippingRulesDto freeShippingRulesDto);

    //修改包邮规则表信息
    void update(FreeShippingRulesDto freeShippingRulesDto);

    //删除包邮规则表信息
    void delete(Long ruleId);

    //批量删除包邮规则表信息
    void deleteBatch(List<Long> ruleIds);
}
